projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
086c4ea
)
Use byte-switch for all symbols.
author
Vibhav Pant
<vibhavp@gmail.com>
Thu, 19 Jan 2017 12:32:40 +0000
(18:02 +0530)
committer
Vibhav Pant
<vibhavp@gmail.com>
Thu, 19 Jan 2017 12:32:40 +0000
(18:02 +0530)
* lisp/emacs-lisp/bytecomp.el: (byte-compile-cond-valid-obj2-p) Return
t for all symbols (instead for just keywords)
lisp/emacs-lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/bytecomp.el
b/lisp/emacs-lisp/bytecomp.el
index 2bc469b17f855a26559d51d86905b950d76c99af..2c10d01ddc29891fcc4ca72f6fc860f4748d08ab 100644
(file)
--- a/
lisp/emacs-lisp/bytecomp.el
+++ b/
lisp/emacs-lisp/bytecomp.el
@@
-3972,7
+3972,6
@@
that suppresses all warnings during execution of BODY."
(defun byte-compile-cond-valid-obj2-p (obj)
(cond
- ((symbolp obj) (keywordp obj))
((consp obj) (eq (car obj) 'quote))
(t t)))